package day4;

/**
 * @author oldliu
 * @since 1.0
 */
public class StudTestArray {
    public static void main(String[] args) {
        int[] ar = new int[10];
        int[] a2 = {1, 2, 3, 5, 6, 10};
        Student st[] = new Student[10];
        System.out.println(st);
        for (int i = 0; i < st.length; i++) {
            st[i] = new Student("王" + i,"anhui-"+i,120+i,100+i,110+i,200+i);
//            st[i].name = "王" + i;
//            st[i].quizno="333"+i;
//            st[i].chinese=130+i;
        }
        for (int i = 0; i < st.length; i++) {
            st[i].show();
        }
        System.out.println(">>>>>>>>>>>>>>>");
        Student s2[] = {new Student(), new Student(), new Student()};
        for (int i = 0; i < s2.length; i++) {
            s2[i].show();
        }
    }
}
